package net.maku.module.train.convert;

import net.maku.module.train.entity.TrainCourseEntity;
import net.maku.module.train.vo.TrainCourseVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_培训_课程
*
* @author    
*/
@Mapper
public interface TrainCourseConvert {
    TrainCourseConvert INSTANCE = Mappers.getMapper(TrainCourseConvert.class);

    TrainCourseEntity convert(TrainCourseVO vo);

    TrainCourseVO convert(TrainCourseEntity entity);

    List<TrainCourseVO> convertList(List<TrainCourseEntity> list);

}